package com.tiancheng.trade.authserver.controller.admin;

import com.tiancheng.trade.authserver.service.IUserThirdInfoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/userThirdInfo")
public class UserThirdInfoController {
    @Resource
    private IUserThirdInfoService service;
//
//    @GetMapping("/getUserThirdInfo")
//    //@RequiresPermissions({"auth:userThirdInfo:detail"})
//    public Result<ThirdInfoRequestRes> getUserThirdInfo(ThirdPlatformEnums platform, String clientId, String userId) {
//        return Result.success(this.service.getThirdInfo(platform, clientId, userId));
//    }
//
//    /**
//     * 获取用户三方信息列表
//     */
//    @GetMapping("/admin/getPageInfo")
//    @RequiresPermissions({"auth:userThirdInfo:query"})
//    public Result<PageInfo<UserThirdInfoListDTO>> getPageInfo(UserThirdInfoQuery query) {
//        return Result.success(this.service.getTengyunPageInfo(query));
//    }
//
//    @DeleteMapping("/admin/delete")
//    @RequiresPermissions({"auth:userThirdInfo:delete"})
//    public Result<Void> delete(@RequestParam String id) {
//        this.service.removeByPrimaryKey(id);
//        return Result.success();
//    }
}
